from django import template
register = template.Library()
from ponyfolio.models import SiteMeta

@register.inclusion_tag("ponyfolio/sitemeta.html")
def headmeta():
    if SiteMeta.on_site.filter():
        meta = SiteMeta.on_site.latest()
        return {'meta':meta}

